package com.literature.threeGroup.mapper;

import com.github.pagehelper.Page;
import com.literature.threeGroup.pojo.ResourceUpdate;
import com.literature.threeGroup.pojo.ResourceUpdateExample;
import com.literature.threeGroup.pojo.ResourceUpdateWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface ResourceUpdateMapper {
    long countByExample(ResourceUpdateExample example);

    int deleteByExample(ResourceUpdateExample example);

    int deleteByPrimaryKey(String id);

    int insert(ResourceUpdate resourceUpdate);

    int insertSelective(ResourceUpdateWithBLOBs record);

    List<ResourceUpdateWithBLOBs> selectByExampleWithBLOBs(ResourceUpdateExample example);

    List<ResourceUpdate> selectByExample(ResourceUpdateExample example);

    ResourceUpdateWithBLOBs selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ResourceUpdateWithBLOBs record, @Param("example") ResourceUpdateExample example);

    int updateByExampleWithBLOBs(@Param("record") ResourceUpdateWithBLOBs record, @Param("example") ResourceUpdateExample example);

    int updateByExample(@Param("record") ResourceUpdate record, @Param("example") ResourceUpdateExample example);

    int updateByPrimaryKeySelective(ResourceUpdateWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(ResourceUpdateWithBLOBs record);

    int updateByPrimaryKey(ResourceUpdate record);

    ResourceUpdate findAuditId(String id);

    Page<ResourceUpdate> findupdateList(ResourceUpdate resourceUpdate);

    ResourceUpdate findResourceupId(String id);
}